package com.bright.tactiviti.activiti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bright.tactiviti.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_act_node")
@ApiModel("节点")
public class ActNode extends BaseEntity {
    @ApiModelProperty("节点id")
    @TableField("node_id")
    private String nodeId;

    @ApiModelProperty("节点关联类型 0角色 1用户 2部门")
    private String type;

    @ApiModelProperty("关联其他表id")
    @TableField("relate_id")
    private String relateId;
}
